<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
        <html>
            <body>
                <h1>I tuoi calendari</h1>
                <xsl:apply-templates/>
            </body>
        </html>
    </xsl:template>
    
    <xsl:template match="calendars/calendar">
        <table summary="nella tabella vengono forniti gli appuntamenti personali relativi al mese indicando giorno, ora e descrizione">
            <caption><p>Mese di <xsl:value-of select="month"></xsl:value-of><xsl:value-of select="year"></xsl:value-of></p></caption>
            <tr>
                <th scope="col" abbr="Lu">Lunedì</th>
                <th scope="col" abbr="Ma">Martedì</th>
                <th scope="col" abbr="Me">Mercoledì</th>
                <th scope="col" abbr="Gio">Giovedì</th>
                <th scope="col" abbr="Ve">Venerdì</th>
                <th scope="col" abbr="Sa">Sabato</th>
                <th scope="col" abbr="Do">Domenica</th>
            </tr>
        </table>
    </xsl:template>
</xsl:stylesheet>